<span class={{class}}>
  {{#if (has-block)}}
    {{yield}}
  {{else}}
    {{text}}
  {{/if}}
</span>
